{
  "properties" : { },
  "id" : "ddc05a85ed3c48c38cf05d587e4a0fc8",
  "script" : null,
  "groupId" : "55e975ac866f47a089e829cc1cdc3cb5",
  "name" : "新增巡检规则",
  "createTime" : 1727071113586,
  "updateTime" : 1726306048243,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "save",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\"taskName\":\"3333\",\"taskTimeFrame\":\"3\",\"taskExecuteTime\":\"2024-09-18 00:00:00\",\"taskExecuteType\":\"0\",\"createUser\":\"admin\"}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": true\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : "",
    "value" : { },
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  },
  "responseBodyDefinition" : {
    "name" : "",
    "value" : { },
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  }
}
================================

var id = IdUtil.getSnowflakeNextId()
db.insert(""" 
insert into  ndmp_audit_rule(id,name,description,expression)  
 values (#{id},#{body.name},#{body.description},#{body.expression})

""")
return  true